package com.shiguiwu.springboot3;

import com.shiguiwu.springboot3.service.ChatService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import reactor.core.publisher.Flux;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @description: 启动类
 * @author: stone
 * @date: Created by 2023/7/2 14:23
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3
 */
@EnableAsync
@EnableScheduling
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = "com.shiguiwu.springboot3.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@EnableTransactionManagement
public class SystemAppStarter {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SystemAppStarter.class, args);


    }
}
